package com.chenglai.goods.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author rxh
 * 规格模板，创建商品时可快四复用
 */
@ApiModel(value = "t_cl_goods_spec")
@Table(name = "t_cl_goods_spec")
public class GoodsSpec implements Serializable {


    /**
     * 主键
     */
    @Id
    @Column(name = "spec_id", updatable = false)
    @ApiModelProperty(value = "主键")
    private Integer specId;

    /**
     * 门店ID
     */
    @Column(name = "shop_id")
    @ApiModelProperty(value = "门店ID")
    private Integer shopId;

    /**
     * 规格名称
     */
    @Column(name = "spec_name")
    @ApiModelProperty(value = "规格名称")
    private String specName;

    /**
     * 规格值（多个以,分割）
     */
    @Column(name = "spec_value")
    @ApiModelProperty(value = "规格值")
    private String specValue;

    public Integer getSpecId() {
        return specId;
    }

    public void setSpecId(Integer specId) {
        this.specId = specId;
    }


    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }


    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }


    public String getSpecValue() {
        return specValue;
    }

    public void setSpecValue(String specValue) {
        this.specValue = specValue;
    }

}
